<!--
  * 数据权限 设置
  *
-->
<template>
  <a-card class="role-container">
    <a-tabs v-model:activeKey="activeKey">
      <a-tab-pane key="1" tab="数据权限-机构">        
        <DataScopeOrg />
      </a-tab-pane>
      <a-tab-pane key="2" tab="数据权限-岗位">
        <DataScopeQuarter />
      </a-tab-pane>
      <a-tab-pane key="3" tab="数据权限-人员">
        <DSEmployeeList />
      </a-tab-pane>
    </a-tabs>
  </a-card>
</template>
<script setup lang="ts">
  import { ref } from 'vue';
  import DSEmployeeList from './ds-user-list/index.vue';
  import DataScopeOrg from './ds-org-list/index.vue';
  import DataScopeQuarter from './ds-quarter-list/index.vue';

  defineProps({
    value: Number,
  });

  defineEmits(['update:value']);

  let activeKey = ref();
</script>
<style scoped lang="less">
  .role-container {
    height: 100%;
  }
</style>
